// 导入每个redercer
import sidebarReducer from './sidebarReducer'
import loadingReducer from './loadingReducer'
// 导入合并reducer的函数
import { combineReducers } from 'redux'
// 合并reducer
const rootReducer = combineReducers({
    sidebarReducer,
    loadingReducer
})
// 把合并后的reducer暴露出去
export default rootReducer